package br.ufc.ck0017.temp;

public class Color {
    private final String name;
    private final Boolean isRegister;

    public Color(String name) {
        this.name = name;
        isRegister = false;
    }

    public Color(String name, Boolean isRegister) {
        this.name = name;
        this.isRegister = new Boolean(isRegister);
    }

    public String getName() {
        return name;
    }

    public Boolean isRegister() {
        return isRegister;
    }
}
